package com.api.shopapi.service;

import com.api.shopapi.entity.DeviceTogWatch;
import com.api.shopapi.entity.dto.DeviceTogWatchDTO;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

public interface DeviceTogWatchService {

    int insert(DeviceTogWatch deviceTogWatch);

    int update(DeviceTogWatch deviceTogWatch);

    DeviceTogWatch getByDeviceTogWatchCode(String deviceTogWatchCode);

    DeviceTogWatch getByUserCode(String userCode);

    DeviceTogWatch getByImei(String imei);

    int deleteByUserCode(String userCode);

    PageInfo<DeviceTogWatchDTO> getPage(int pageIndex,int pageSize,String phone,String imei);

}
